<?php

class ThreadController extends Forum_Controller_Action
{
	public function addAction(){
		if(isset($_POST['thread'])){
			$thread = $_POST['thread'];
		
			Forum::getSingleton('Forum_Thread')->add($thread);
			$this->_redirect($_SERVER['HTTP_REFERER'], false);
		}
	}
}

?>